﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP.Domain.Entities
{
    /// <summary>
    /// 产品价格扩展
    /// </summary>
    public class CommodityInfo
    {
        /// <summary>
        /// 主键，唯一标识
        /// </summary>
        public long CommodityInfoId { get; set; }

        /// <summary>
        /// 产品 id
        /// </summary>
        public long? MaterialId { get; set; }

        /// <summary>
        /// 商品条码
        /// </summary>
        public string BarCode { get; set; }

        /// <summary>
        /// 商品单位
        /// </summary>
        public string CommodityUnit { get; set; }

        /// <summary>
        /// 多属性
        /// </summary>
        public string Sku { get; set; }

        /// <summary>
        /// 采购价格
        /// </summary>
        public decimal? PurchaseDecimal { get; set; }

        /// <summary>
        /// 零售价格
        /// </summary>
        public decimal? CommodityDecimal { get; set; }

        /// <summary>
        /// 销售价格
        /// </summary>
        public decimal? WholesaleDecimal { get; set; }

        /// <summary>
        /// 最低售价
        /// </summary>
        public decimal? LowDecimal { get; set; }

        /// <summary>
        /// 删除标记，0 未删除，1 删除，默认 0
        /// </summary>
        public string DeleteFlag { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 创建人编码
        /// </summary>
        public string CreateSerial { get; set; }

        /// <summary>
        /// 更新人编码
        /// </summary>
        public string UpdateSerial { get; set; }

        /// <summary>
        /// 更新时间戳
        /// </summary>
        public long? UpdateTime { get; set; }

        /// <summary>
        /// 租户 id
        /// </summary>
        public long? TenantId { get; set; }
    }
}
